
const uploadResource = () => import('@/components/upload/upload')

export const mainRouter = {
  path: '/',
  name: 'index',
  redirect: '/upload'
}

// upload
export const uploadRouter = [
  {
    path: '/upload',
    name: 'upload',
    component: uploadResource
  }
]

export const routers = [
  mainRouter,
  ...uploadRouter
]
